package com.example.zhu.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
public class Activity {

    private Integer activityId;
    private Integer activityIndex;
    private Integer activityStatus;
    private String activityName;
    private String activityIntroduce;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime activityStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime activityEndTime;
    private Integer popping;
    private String activityImg;
    private String activityUrl;
    private String poppingUrl;


}
